{include common/header}
{include common/left}
<div id="content">
  <ul class="breadcrumb">
    <li><a href="javascript:;"><i class="icon-home"></i>用户组</a> </li>
   </ul>
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
        <div class="widget-box">
          <div class="widget-title">				
				<h5><span class="icon"> <i class="icon-th"></i> </span>用户组</h5>
			</div>
			<div class="widget-content nopadding">
				<table class="table table-bordered table-striped table-hover">
					<thead>
						<tr>
							<th>ID</th>
							<th>用户组</th>
							<th>权限设置</th>
							<th>编辑</th>
							<th>删除</th>
						</tr>
					</thead>
					<tbody>
					{loop $group_list $group}
						<tr>
							<td>{$group['id']}</td>
							<td>{$group['name']}</td>
							<td><a href="{url('group/auth', array('id'=>$group['id']) )}">设置权限</a></td>
							<td><a href="{url('group/edit_group', array('id'=>$group['id']) )}">编辑</a></td>
							<td><a href="{url('group/del_group', array('id'=>$group['id']) )}">删除</a></td>
						</tr>
				    {/loop}
					</tbody>
				</table>							
			</div>
        </div><!--widget-box end-->
        
      </div>
    </div>
  </div>
</div>
{include common/footer}